package cn.hx.mallorder.controller;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;


@FeignClient("mall-goods")
@Component
public interface ProductClient {
    @GetMapping("/similarGoods/{id}")
    List<Object> getList(@PathVariable("id") int id);

}
